package com.dragon.modules.yuegou.client.ali.service.impl;

import com.dragon.modules.yuegou.client.ali.client.AuthClient;
import com.dragon.modules.yuegou.client.ali.response.UserInfo;
import com.dragon.modules.yuegou.client.ali.service.AuthService;
import org.springframework.beans.factory.annotation.Autowired;

public class AuthServiceImpl implements AuthService {

    @Autowired
    private AuthClient authClient;

    @Override
    public UserInfo userinfo(String appid, String token, String code) {
        return authClient.userinfo(appid,token,code);
    }
}
